package com.avicsafety.ezsystem.mvp;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Button;

import com.avicsafety.ezsystem.R;
import com.avicsafety.ezsystem.mvp.presenter.MvpTestPresenter;
import com.avicsafety.ezsystem.mvp.view.BaseView;
import com.avicsafety.ezsystem.mvp.view.MvpTestView;

import java.util.List;

import butterknife.BindView;

public class MvpTestActivity extends BaseActivity<MvpTestPresenter> implements MvpTestView {


    //@BindView(R.id.btn_getData)
    //Button btn_getData;

    @Override
    protected void init(Integer LayoutId, Class<MvpTestPresenter> clazz){
        super.init(R.layout.activity_mvp_test, MvpTestPresenter.class);
    }

    @Override
    protected void initData() {
        super.initData();
        presenter.getData("success");
    }

    @Override
    public void setData(String data) {
        Log.v("===================", data);
    }
}
